package oa.hleast.xswl.service.blog;

import com.baomidou.mybatisplus.extension.service.IService;
import oa.hleast.xswl.common.enums.SignSourceTypeEnum;
import oa.hleast.xswl.pojo.domain.blog.UmsBlogTable;
import oa.hleast.xswl.pojo.vo.blog.UmsBlogTableVo;

import java.util.List;

public interface IBlogTableService extends IService<UmsBlogTable> {


    List<UmsBlogTableVo> topTableList(Long userId);

    /**
     * 获取博客的标签
     *
     * @param id 博客ID
     * @return 标签的信息
     */
    List<UmsBlogTableVo> findTableNameByBlogId(Long id);

    /**
     * 获取打卡标签
     *
     * @param anEnum 打卡入口枚举
     * @return 打卡标签
     */
    UmsBlogTable getClockInTable(SignSourceTypeEnum anEnum);
}
